package com.huawei.service;

import com.huawei.entity.Picture;

import java.util.List;
import java.util.Map;

/**
 * @ClassName PictureService
 * @Description TODO
 * @Author zhuxin
 * @Date 2021/11/30 21:35
 */
public interface PictureService {
    /**
     * 查询图片
     */
    public List<Picture> selectAll(Map<String, Object> map);
    /**
     * 查询图片数量
     */
    public int  count(Map<String, Object> map);
    /**
     * 添加图片
     */
    public   int insert(Picture picture);
    /**
     * 修改图片
     */
    public   int update(Picture picture);
    /**
     * 删除图片
     *
     */
    public   int delete (int id);

    Picture  getId(int id);

}
